package cn.iocoder.yudao.module.api.product.spu.enums;

import cn.iocoder.yudao.framework.business.basic.enums.EnumValuable;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 产品 SPU 推荐类型
 *
 * @author 山野羡民
 */
@Getter
@AllArgsConstructor
public enum ProductSpuRecommendEnum implements EnumValuable {

    DEFAULT(0, "无"),
    BEST(1, "精选"),
    HOT(2, "爆款"),
    NEW(3, "新品"),
    BENEFIT(4, "补贴"),
    ADVERT(99, "付费推广"),
    ;

    @EnumValue
    private final Integer value;
    private final String name;

}
